const caseRoute = [
  {
    path: '/redirect',
    name: 'Redirect',
    component: () => import('@/views/case/redirect')
  },
  {
    path: '/case',
    name: 'Case',
    props: true,
    meta: {
      title: '我的案件',
      keepAlive: true,
    },
    component: () => import('@/views/case/')
  },
  {
    path: '/case/:case_id',
    name: 'CaseDetail',
    props: true,
    meta: {
      title: '案件详情'
    },
    component: () => import('@/views/case/detail')
  },
  {
    path: '/case/auth/:case_id',
    name: 'CaseAuth',
    props: true,
    meta: {
      title: '案件授权'
    },
    component: () => import('@/views/case/case_auth')
  },
  {
    path: '/lawyer_login',
    name: 'LawyerLogin',
    props: true,
    meta: {
      title: '律师登录'
    },
    component: () => import('@/views/case/login')
  },
]

export default caseRoute